﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="publisher.aspx.cs" Inherits="NKD07.Admin.publisher" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <div class="main1">
        <div id="search" style="height: 150px">
            <div class="moduletable">
                <h><asp:Label ID="lblNamePublisher" runat="server" Text=" ForeColor="#FF3300" Font-Bold="True" Font-Size="X-Large"></asp:Label></h>
                <br />
                <br />
                <h><asp:Label ID="Label1" runat="server" Text="Address:" Font-Bold="True" ></asp:Label>
                            <asp:Label ID="lblAddressPublisher" runat="server" Text=""></asp:Label></h>
                <br />
                <h><asp:Label ID="Label2" runat="server" Text="City:" Font-Bold="True"></asp:Label>
                            <asp:Label ID="lblCityPublisher" runat="server" Text=""></asp:Label></h>
                <br />
                <h><asp:Label ID="Label3" runat="server" Text="Phone:" Font-Bold="True"></asp:Label>
                            <asp:Label ID="lblPhonePublisher" runat="server" Text=""></asp:Label></h>
                <br />
                <h><asp:Label ID="Label4" runat="server" Text="eMail:" Font-Bold="True"></asp:Label>
                            <asp:Label ID="lblMailPublisher" runat="server" Text=""></asp:Label></h>
                <br />
                <br />
                <asp:TextBox ID="usernameAccess" runat="server"></asp:TextBox>
                <asp:TextBox ID="passwordAccess" runat="server"></asp:TextBox>
                <asp:Button ID="Button1" runat="server" Text="Loin" OnClick="Button1_Click" />
                <asp:TextBox ID="key" runat="server"></asp:TextBox>
                <asp:Label ID="lblconfirm" runat="server" Text="Label" Visible="False"></asp:Label>
            </div>
        </div>
        <div id="Div1">
            <div class="moduletable">
                <div class="search" style="width: 913px">
                    <asp:TextBox ID="keyWord" runat="server" MaxLength="900" class="inputbox" type="text"
                        size="800" value="enter keywords to search" onblur="if(this.value==&#39;&#39;) this.value=&#39;enter keywords to search&#39;;"
                        onfocus="if(this.value==&#39;enter keywords to search&#39;) this.value=&#39;&#39;"
                        ForeColor="#999999"></asp:TextBox>
                    <asp:Button ID="tnSearch" runat="server" Text="Button" class="buttonC" 
                        onclick="tnSearch_Click" />
                </div>
            </div>
        </div>
        <br />
        <div class="content-border">
            <div class="wrapper2 border">
                <div id="left">
                    <div class="wrapper2">
                        <div class="extra-indent">
                            <div class="extra-indent">
                                <h3>
                                    <span><span>Categories</span></span></h3>
                                <ul style="list-style-type: none">
                                    <asp:DataList ID="dtlCategories" runat="server">
                                        <ItemTemplate>
                                            <asp:Panel ID="Panel1" runat="server">
                                                <li>
                                                    <asp:Button ID="m" CommandArgument='<%# XPath("id") %>' runat="server" Text='<%# XPath("name") %>'
                                                        CssClass="buttonLink" OnClick="m_Click" />
                                                </li>
                                            </asp:Panel>
                                        </ItemTemplate>
                                    </asp:DataList>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!------------ Body -->
                <div class="container">
                    <div id="vmMainPage">
                        <div class="clear">
                            <h3 class="categoryName">
                                <asp:Label ID="lbCategoryName" runat="server" Text=""></asp:Label>
                            </h3>
                        </div>
                        <asp:Panel ID="Panel3" runat="server" Visible="False">
                            <asp:Label ID="Label5" runat="server" Text="Number: " Font-Bold="True" ForeColor="#666666"></asp:Label>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="txtNumber" runat="server" CssClass="textbox"></asp:TextBox><br />
                            <asp:Label ID="Label6" runat="server" Text="Price buy: " Font-Bold="True" ForeColor="#666666"></asp:Label>
                            &nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="txtPrice" runat="server" CssClass="textbox"></asp:TextBox><br />
                            <asp:Label ID="Label7" runat="server" Text="Long Term: " Font-Bold="True" ForeColor="#666666"></asp:Label>
                            &nbsp;<asp:CheckBox ID="ckLongTerm" runat="server" CssClass="textbox" />
                            <br />
                            <asp:Label ID="Label8" runat="server" Font-Bold="True" ForeColor="#666666" Text="Begin date: "></asp:Label>
                            &nbsp;<asp:TextBox ID="txtDateBegin" runat="server" CssClass="textbox"></asp:TextBox><br />
                            <asp:Label ID="Label9" runat="server" Text="End date: " Font-Bold="True" ForeColor="#666666"></asp:Label>
                            &nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="txtDateEnd" runat="server" CssClass="textbox"></asp:TextBox><br />
                            <asp:Label ID="Label10" runat="server" Text="Min:" Font-Bold="True" ForeColor="#666666"></asp:Label>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="txtMin" runat="server" CssClass="textbox"></asp:TextBox><br />
                            <asp:Button ID="buyOK" runat="server" Text="BUY" CssClass="addtocart_button" OnClick="buyOK_Click" />
                        </asp:Panel>
                        <div id="product_list" runat="server">
                            <asp:DataList ID="dtlProducts" runat="server" RepeatColumns="4">
                                <ItemTemplate>
                                    <asp:Panel ID="Panel2" runat="server">
                                        <div class="productService">
                                            <asp:Label ID="lblName" runat="server" Text='<%# XPath("name") %>' ForeColor="#FF3300"></asp:Label>
                                            <br />
                                            <asp:Label ID="lblPrice" runat="server" Text='<%# "$" + XPath("price") %>'></asp:Label>
                                            <br />
                                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# "." + XPath(&quot;imageUrl&quot;) %>'
                                                Height="120px" Width="85px" /><br />
                                            <br />
                                            <asp:Button ID="btn" runat="server" CommandArgument='<%# XPath("id") %>' Text="Buy"
                                                OnClick="btn_Click" CssClass="addtocart_button " />
                                            <br />
                                        </div>
                                    </asp:Panel>
                                </ItemTemplate>
                            </asp:DataList>

                            <asp:DataList ID="dtlResultSearch" runat="server" RepeatColumns="4">
                                <ItemTemplate>
                                    <asp:Panel ID="Panel2" runat="server">
                                        <div class="productService">
                                            <asp:Label ID="lblName" runat="server" Text='<%# XPath("name") %>' ForeColor="#FF3300"></asp:Label>
                                            <br />
                                            <asp:Label ID="lblPrice" runat="server" Text='<%# "$" + XPath("price") %>'></asp:Label>
                                            <br />
                                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# "." + XPath(&quot;imageUrl&quot;) %>'
                                                Height="120px" Width="85px" /><br />
                                            <br />
                                            <asp:Button ID="btn" runat="server" CommandArgument='<%# XPath("id") %>' Text="Buy"
                                                OnClick="btn_Click" CssClass="addtocart_button " />
                                            <br />
                                        </div>
                                    </asp:Panel>
                                </ItemTemplate>
                            </asp:DataList>
                            
                            <asp:DataList ID="btlLastestProduct" runat="server" RepeatColumns="4">
                                <ItemTemplate>
                                    <asp:Panel ID="Panel2" runat="server">
                                        <div class="productService">
                                            <asp:Label ID="lblName" runat="server" Text='<%# XPath("name") %>' ForeColor="#FF3300"></asp:Label>
                                            <br />
                                            <asp:Label ID="lblPrice" runat="server" Text='<%# "$" + XPath("price") %>'></asp:Label>
                                            <br />
                                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# "." + XPath(&quot;imageUrl&quot;) %>'
                                                Height="120px" Width="85px" /><br />
                                            <br />
                                            <asp:Button ID="btn" runat="server" CommandArgument='<%# XPath("id") %>' Text="Buy"
                                                OnClick="btn_Click" CssClass="addtocart_button " />
                                            <br />
                                        </div>
                                    </asp:Panel>
                                </ItemTemplate>
                            </asp:DataList>
                        </div>
                    </div>
                </div>
                <!------------End Body -->
            </div>
        </div>
    </div>
    <!-- modal content -->
    
</asp:Content>
